class AddEmailToUserInvitations < ActiveRecord::Migration
  def self.up
    add_column :user_invitations, :invited_user_email, :string
    add_index :user_invitations, :invited_user_email
  end

  def self.down
    remove_column :user_invitations, :invited_user_email
  end
end
